package edu.scut.course_management.po;

/**
 * 持久化对象： 学生回答的内容
 * @author huaming
 */
public class Answer {
    private Integer answerId;
    private String studentId;
    private Integer homeworkId;
    private String answerContent;
    private Boolean isCheck;
    private Integer score;

    public Integer getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Integer answerId) {
        this.answerId = answerId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Integer getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(Integer homeworkId) {
        this.homeworkId = homeworkId;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public Boolean getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(Boolean isCheck) {
        this.isCheck = isCheck;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "SectionHomework{" +
               "answerId=" + answerId + 
               ", studentId=" +  studentId + 
               ", homeworkId=" + homeworkId + 
               ", answerContent=" + answerContent +
               ", isCheck=" + isCheck + 
               ", score" + score +
               "}";
    }
}
